package com.trace.app.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : lyj
 * @Timer : 2024/4/2
 * @Description : 购物车
 */
@Data
@Accessors(chain = true)
public class CartVo {
    private Integer id;

    private Integer userId;

    private Integer proId;

    private Integer addId;

    private Integer num;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    private String name;

    private Double price;

    private String img;


}
